//
//  LLYTTextFieldAutoFillDataSource.h
//  LLYTTextFieldDemo
//
//  Created by Baker, Eric on 4/13/13.
//  Copyright (c) 2013 DuneParkSoftware, LLC. All rights reserved.
//

#import <Foundation/Foundation.h>

@class LLYTTextField;

@protocol LLYTTextFieldAutoFillDataSource <NSObject>

@optional
- (NSUInteger)minimumLengthForAutoFillQueryForTextField:(LLYTTextField *)textField;
- (UITableViewCell *)textField:(LLYTTextField *)textField tableView:(UITableView *)tableView cellForAutoFillString:(NSString *)string atIndexPath:(NSIndexPath *)indexPath;
- (BOOL)textField:(LLYTTextField *)textField canRemoveAutoFillString:(NSString *)string atIndexPath:(NSIndexPath *)indexPath;
- (void)textField:(LLYTTextField *)textField removeAutoFillString:(NSString *)string atIndexPath:(NSIndexPath *)indexPath;

@required
- (NSArray *)textField:(LLYTTextField *)textField autoFillStringsForString:(NSString *)string;

@end
